<table class="layui-table text-center" lay-size="sm">
    <thead>
        <tr>
            <th><input type="checkbox" class="checked-all" target="borrow-id"></th>
            <th>借用仓库</th>
            <th>借用单号</th>
            <th>出库日期</th>
            <th>申请人</th>
            <th>备注</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        {foreach $list as $item}
        <tr>
            <td><input type="checkbox" class="borrow-id" name="borrow_id[]" value="{$item.borrow_id}"></td>
            <td>{$item.wout.name}</td>
            <td class="copy-text">{$item.borrow_sn}</td>
            <td>{$item.out_date}</td>
            <td>{$item.user.nickname}</td>
            <td class="text-left">{$item.remark}</td>
            <td class="text-left">
                <a class="layui-btn layui-btn-xs layui-btn-normal borrow-recv" item="{$item.borrow_sn}">收货</a>
            </td>
        </tr>
        {/foreach}
        {empty name="list"}
        <tr>
            <td colspan="7">没有数据</td>
        </tr>
        {/empty}
    </tbody>
</table>
<div class="page">
    {$page|raw}
</div>